package com.ruoyi.hr.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 权限表 sys_authority
 *
 * @author zh
 */
public class Authority extends BaseEntity {
    public Authority(){};

    public Authority(List<Authority> authorities,String isAdmin){
        this.setAuthorityList(authorities);
        this.setIsAdmin(isAdmin);
    }

    private static final long serialVersionUID = 1L;
    private int id;
    private Integer authorityId;
    private Integer userId;

    private String depIds;
    private Integer compID;
    private String userName;
    private String compName;
    private String depName;
    private String isSelection;
    private String isAdmin;

    private List<Authority> authorityList;


    public List<Authority> getAuthorityList() {
        return authorityList;
    }

    public void setAuthorityList(List<Authority> authorityList) {
        this.authorityList = authorityList;
    }

    public String getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(String isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getIsSelection() {
        return isSelection;
    }

    public void setIsSelection(String isSelection) {
        this.isSelection = isSelection;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getDepIds() {
        return depIds;
    }

    public void setDepIds(String depIds) {
        this.depIds = depIds;
    }

    public Integer getCompID() {
        return compID;
    }

    public void setCompID(Integer compID) {
        this.compID = compID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }
}